package org.restorator.service;

import org.restorator.entity.User;
import org.restorator.entity.dto.UserDto;
import org.restorator.exception.ServiceException;

public interface UserService extends CrudService<User, Integer>, DtoAssebler<User, UserDto>  {
    User getUserByLoginAndPass(String password, String login) throws ServiceException;
    User getUserByKey(String key) throws ServiceException;
}
